package com.zhang.authority.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统对接账号
 * </p>
 *
 * @author KingHood
 * @since 2023-12-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OpenAccountDO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String appId;

    private String appSecret;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 创建人人id
     */
    private Long createUserId;

    /**
     * 最后修改人id
     */
    private Long updateUserId;

    /**
     * 是否删除：0未删除；1已删除
     */
    private Integer isDelete;
}
